import Vue from 'vue'
import {
    Button,
    Card,
    Form,
    Input,
    FormItem,
    Switch,
    Message,
    Alert,
    Tabs,
    TabPane,
    Table,
    Page,
    Drawer,
    Menu,
    MenuItem,
    MenuGroup,
    Submenu,
    Icon,
    Row,
    Col,
    Cell,
    CellGroup,
    Badge,
    Spin,
    Select,
    Option,
    Modal,
    Breadcrumb,
    BreadcrumbItem,
    DatePicker
} from 'iview'

Vue.component('Button', Button);
Vue.component('Card', Card);
Vue.component('Form', Form);
Vue.component('Input', Input);
Vue.component('FormItem', FormItem);
Vue.component('i-switch', Switch);
Vue.component('Alert', Alert);
Vue.component('Tabs', Tabs);
Vue.component('TabPane', TabPane);
Vue.component('Table', Table);
Vue.component('Page', Page);
Vue.component('Drawer', Drawer);
Vue.component('Menu', Menu);
Vue.component('MenuItem', MenuItem);
Vue.component('MenuGroup', MenuGroup);
Vue.component('Submenu', Submenu);
Vue.component('Icon', Icon);
Vue.component('Row', Row);
Vue.component('Col', Col);
Vue.component('Cell', Cell);
Vue.component('CellGroup', CellGroup);
Vue.component('Badge', Badge);
Vue.component('Spin', Spin);
Vue.component('Select', Select);
Vue.component('Option', Option);
Vue.component('Modal', Modal);
Vue.component('Breadcrumb',Breadcrumb);
Vue.component('BreadcrumbItem',BreadcrumbItem);
Vue.component('DatePicker',DatePicker);

Vue.prototype.$Message = Message;
Vue.prototype.$Modal = Modal;

import 'iview/dist/styles/iview.css'
